﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class knowledge_search
    {
        public string type_a { get; set; }

        public string type_b { get; set; }

        public string type_c { get; set; }

        public string search_title { get; set; } = "";

        public string start_date { get; set; }

        public int? state { get; set; }

        public int page { get; set; } = 1;

        public int pagesize { get; set; } = 15;
    }

    public class cloud_product_search
    {
        /// <summary>
        /// 搜索搜索关键字  商品名称 规格 类型 品牌 描述
        /// </summary> 
        public string search_key { get; set; }
        /// <summary>
        /// 是否有条码
        /// </summary>
        public bool? have_codebar { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string codeBar { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string CategoryId { get; set; } 
        /// <summary>
        /// 是否云商品库数据
        /// </summary>
        public bool? iscloud { get; set; } = true;
        /// <summary>
        /// 自定义排序列
        /// </summary>
        public string order_column { get; set; }
        /// <summary>
        /// 排序方式
        /// </summary>
        public bool? isdesc { get; set; } = true;
        
        /// <summary>
        /// 创建日期开始查询
        /// </summary>
        public DateTime? start_addtime { get; set; }
        /// <summary>
        /// 创建日期结束查询
        /// </summary>
        public DateTime? end_addtime { get; set; }

        /// <summary>
        /// 编辑日期开始查询
        /// </summary>
        public DateTime? start_edittime { get; set; }
        /// <summary>
        /// 编辑日期结束查询
        /// </summary>
        public DateTime? end_edittime { get; set; }

        /// <summary>
        /// 当前页数
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        /// 单页数量
        /// </summary>
        public int pagesize { get; set; } = 15;


    }

    public class kanban_index_result
    {
        /// <summary>
        /// 分类ID
        /// </summary>
        public string type_id { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string type_name { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 分类下显示数据
        /// </summary>
        public object list { get; set; }
    }
}
